package com.hebrf.sdk.qrcode.zxing.utils;

/**
 * 作者:Lyb
 * 邮箱:liuyubing_hebrf@163.com
 * 时间: 2016/12/12.
 * 作用:
 */

public class AppliationUtil {
    //应用程序最大可用内存
    public static int MAX_MEMORY = ((int) Runtime.getRuntime().maxMemory())/1024/1024;
    //应用程序已获得内存
    public static long TOTAL_MEMORY = ((int) Runtime.getRuntime().totalMemory())/1024/1024;
    //应用程序已获得内存中未使用内存
    public static long FREE_MEMORY = ((int) Runtime.getRuntime().freeMemory())/1024/1024;
}
